package com.example.demos.dto;

import com.example.demos.entity.OrderDetail;
import com.example.demos.entity.ReturnOrderDetail;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReturnOrdersDTO {
    private BigInteger uuid;
    @JsonProperty("createtime")
    private LocalDateTime createTime;
    @JsonProperty("creatername")
    private String creater;
    @JsonProperty("checktime")
    private LocalDateTime checkTime;
    @JsonProperty("checkname")
    private String checker;
    @JsonProperty("endtime")
    private LocalDateTime endTime;
    @JsonProperty("endname")
    private String ender;
    @JsonProperty("suppliername")
    private String supplierName;
    private BigInteger supplierUuid;
    @JsonProperty("totalmoney")
    private BigDecimal totalMoney;
    private String state;
    private List<ReturnOrderDetail> returnOrderDetailList;
}
